//获取应用实例
var app = getApp()
Page({
    data: {
        newList:[{url:"baidu.com",title:"111",classification:"ss",time:"2016-10-17",imgURL:"../../image/test.png"},
            {url:"baidu.com",title:"222",classification:"ss",time:"2016-10-17",imgURL:"../../image/test.png"},
            {url:"baidu.com",title:"333",classification:"12",time:"2016-10-17",imgURL:"../../image/test.png"},
            {url:"baidu.com",title:"444",classification:"333",time:"2016-10-17",imgURL:"../../image/test.png"},
            {url:"baidu.com",title:"555",classification:"44",time:"2016-10-17",imgURL:"../../image/test.png"},
            {url:"baidu.com",title:"666",classification:"44",time:"2016-10-17",imgURL:"../../image/test.png"},
            {url:"baidu.com",title:"777",classification:"32",time:"2016-10-17",imgURL:"../../image/test.png"},
            {url:"baidu.com",title:"888",classification:"123",time:"2016-10-17",imgURL:"../../image/test.png"},
            {url:"baidu.com",title:"999",classification:"456",time:"2016-10-17",imgURL:"../../image/test.png"},
            {url:"baidu.com",title:"000",classification:"454",time:"2016-10-17",imgURL:"../../image/test.png"}
        ]
    },
    //事件处理函数
    bindViewTap: function() {
        wx.navigateTo({
            url: '../logs/logs'
        })
    }

});


////index.js
//Page({
//    data: {
//        text: "This is page data."
//    },
//    onLoad: function(options) {
//        // Do some initialize when page load.
//    },
//    onReady: function() {
//        // Do something when page ready.
//    },
//    onShow: function() {
//        // Do something when page show.
//    },
//    onHide: function() {
//        // Do something when page hide.
//    },
//    onUnload: function() {
//        // Do something when page close.
//    },
//    // Event handler.
//    viewTap: function() {
//        this.setData({
//            text: 'Set some data for updating view.'
//        })
//    }
//})